package com.moli.iov.notify.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wanghualin
 * @since 2019-10-08
 */
@TableName("notice_sms")
public class NoticeSms implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 手机号
	 */
	private String mobile;

	/**
	 * 模板编码
	 */
	@TableField(value="templete_code")
	private String templeteCode;

	/**
	 * 发送内容
	 */
	private String content;

	/**
	 * 状态：1、成功 0、失败
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 修改时间
	 */
	@TableField(value="modify_time")
	private Date modifyTime;

	/**
	 * 短信类型关联id
	 */
	@TableField(value="sms_code")
	private Integer smsCode;

	/**
	 * 短信类型（1：报警、2：控车）
	 */
	@TableField(value="sms_type")
	private Integer smsType;

	/**
	 * 企业id
	 */
	@TableField(value="company_id")
	private Integer companyId;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getTempleteCode() {
		return templeteCode;
	}

	public void setTempleteCode(String templeteCode) {
		this.templeteCode = templeteCode;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getSmsCode() {
		return smsCode;
	}

	public void setSmsCode(Integer smsCode) {
		this.smsCode = smsCode;
	}

	public Integer getSmsType() {
		return smsType;
	}

	public void setSmsType(Integer smsType) {
		this.smsType = smsType;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

}
